<?php
// namespace demo;
/**
 *
 * @authors  Ysg (y.shi.guo@gmail.com)
 * @website  http://ysg.bonza.cn
 * @date     2017-07-24 11:43:02
 */

header("Content-type:text/html;charset:utf8;");

date_default_timezone_set('PRC');



function myException($exception)
{
    // echo "<b>Exception:</b> " .$exception->getMessage();
    echo "string" , "aaaaaaa";
}

set_exception_handler('myException');

throw new Exception('Uncaught Exception occurred');
